package com.itcast.jfinal.service.impl;

import com.itcast.jfinal.dao.User;
import com.itcast.jfinal.service.DynamicService;

/**
 * @author zheng.zhang
 */
public class DynamicServiceImpl implements DynamicService {
    private final User userDao = new User().dao();

    @Override
    public boolean savePerson(User user) {
        return user.save();
    }
}
